<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>反向查询</title>
</head>
<body>
{% load static %}
{% if blogs %}
{% for x in blogs %}
    id：{{ x.id }}<br><br>
    题目：{{ x.title }}<br><br>
    内容：{{ x.content }}<br><br>
    作者：{{ x.author.name }}<br><br>
{% endfor %}
{% else %}
    <b>该作者还未发布博客</b>
{% endif %}


</body>
</html>